<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>MyHtml.html</title>
<script type="text/javascript" src="js/jquery-2.0.0.min.js"></script>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

<script type="text/javascript">
var xmlhttp;
	function MovePtz(cmd) {
		var param = "dir=" + cmd;
		//GetXml("http://192.168.1.106:81/moveptz.xml?" + param);
		

    
    if (window.XMLHttpRequest)
      {// code for IE7+, Firefox, Chrome, Opera, Safari
      xmlhttp=new XMLHttpRequest();
      }
    else
      {// code for IE6, IE5
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
      }

    xmlhttp.onreadystatechange=stateChanged;
    xmlhttp.open("GET","http://192.168.1.106:81/moveptz.xml?"+param,true);
    xmlhttp.send();
	}

function stateChanged() 
{ 
  if (xmlhttp.readyState==4)
  { 
  
  }
}
function GetXml(src,param){

}

</script>

</head>

<body>
	<img
		src="http://192.168.1.106:81/videostream.cgi?user=admin&password=admin" />
	<button onmousedown="MovePtz('up')">下</button>
</body>
</html>
